<%-- 
    Document   : buscaImovel
    Created on : 18/03/2011, 15:20:49
    Author     : suporte
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" language="java"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">



<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Busque seu Im&oacute;vel</title>
    </head>
    <body background="imagens/Back_2.jpg">
        <div id="geral">
            <div id="header">
                <jsp:include page="header.jsp" />
            </div>
            <p>
            <div id="body">
        <jsp:useBean id="imovel" scope="session" class="model.Imovel" />
        <form action="ImobiliariaServlet?cmd=mostrarImoveis.jsp" method="post">
        <table style="text-align: left; width: 80%;" align="center" border="0" cellpadding="4" cellspacing="2" bgcolor="#EEC591">
            <tbody>
            <tr>
                <td style="vertical-align: top; text-align: center;">
                    <font size="12">
                    <input type="radio" name="tipoNegocio" id="compra" value="Compra"><label for="compra">Comprar</label></font>
                </td>
                <td style="vertical-align: top; text-align: center;">
                    <font size="12"><input type="radio" name="tipoNegocio" id="aluguel" value="Aluguel"><label for="aluga">Alugar</label></font>
                </td>
            </tr>
            <tr>
                <td colspan="2"><br><br></td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: right;">
                    Quantidade de Quartos:
                </td>
                <td style="vertical-align: top; text-align: left">
                    <select name="quartos">
                        <option value="0" selected="selected">
                                Selecione o nº de quartos
                    </option>
                        <option value="1">1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4 ou Mais</option>

                </select>

                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: right;">
                    Estado:
                </td>
                <td style="vertical-align: top">
                    <select name="estado" size="6">
                        <option value="0" selected="selected">
                            Selecione o Estado
                        </option>
                        <option value="go">Goi&aacute;s</option>
                        <option value="df">Distrito Federal</option>
                        <option value="mg">Minas Gerais</option>
                        <option value="sp">S&atilde;o Paulo</option>
                        <option value="rj">Rio de Janeiro</option>
                        <option value="sc">Santa Catarina</option>
                        <option value="mt">Mato Grosso</option>

                    </select>
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: right;">
                    <h3> Estado: </h3>
                </td>
                <td style="vertical-align: middle; text-align: left;">
                    <select name="estado" size="6">
                        <option value="todos" selected="selected">
                            Selecione o Estado
                        </option>
                        <option value="Goi&aacute;s">Goi&aacute;s</option>
                        <option value="Distrito Federal">Distrito Federal</option>
                        <option value="Minas Gerais">Minas Gerais</option>
                        <option value="S&atilde;o Paulo">S&atilde;o Paulo</option>
                        <option value="Rio de Janeiro">Rio de Janeiro</option>
                        <option value="Santa Catarina">Santa Catarina</option>
                        <option value="Mato Grosso">Mato Grosso</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: right;">
                    <h3>  Cidade: </h3></td>
                <td style="vertical-align: middle; text-align: left;">
                    <input type="text" name="cidade">
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: right;"><h3>Bairro: </h3></td>
                <td style="vertical-align: middle; text-align: left;">
                    <input type="text" name="bairro">
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: right;"><h3>Valor entre: </h3></td>
                <td style="vertical-align: middle; text-align: left;">
                    <select name="valor">
                        <option value="todos" selected="selected">Selecione um valor</option>
                        <option value="0 a 500,00">0 a 500,00</option>
                        <option value="500 a 1.000,00">500 a 1.000,00</option>
                        <option value="1.000 a 5.000,00">1.000 a 5.000,00</option>
                        <option value="5.000 a 80.000,00">5.000 a 80.000,00</option>
                        <option value="80.000 a 100.000,00">80.000 a 100.000,00</option>
                        <option value="100.000 a 200.000,00">100.000 a 200.000,00</option>
                        <option value="200.000 acima">200.000 acima</option>
                    </select>
                </td>
            </tr>
            <tr><td style="vertical-align: top; text-align: right;">
                    <button type="submit" name="enviar" value="Pesquisar">
                        <img src="imagens/busca.jpg" alt="Buscar Im&oacute;veis" style="vertical-align:middle;">Pesquisar
                    </button>
                </td>
                <td style="vertical-align: middle; text-align: left;">
                <input type="image" src="imagens/limpar.jpeg" alt="Limpar Busca">
                </td>
            </tr>

            </tbody>
        </table>

        </form>
        </div>
        <p>
        <div id="footer">
            <jsp:include page="footer.jsp"/>
        </div>
        </div>
    </body>
</html>


